┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/share/doc/pecl/imagick/examples
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: thumbnail.php
<?php /* A simple example demonstrate thumbnail creation. */ /* Create the Imagick object */ $im = new Imagick(); /* Read the image file */ $im->readImage( '/tmp/test.png' ); /* Thumbnail the image ( width 100, preserve dimensions ) */ $im->thumbnailImage( 100, null ); /* Write the thumbail to disk */ $im->writeImage( '/tmp/th_test.png' ); /* Free resources associated to the Imagick object */ $im->destroy(); ?>
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 captcha.php
PHP
1.5 KB
2025-11-26 21:38
EDIT
📄 polygon.php
PHP
2.7 KB
2025-11-26 21:38
EDIT
📄 thumbnail.php
PHP
430 B
2025-11-26 21:38
EDIT
📄 watermark.php
PHP
651 B
2025-11-26 21:38
EDIT